
html {
    font-size:14px
}

/* 层级段落样式 */
.mce-paragraph[data-mce-level='1'] .mce-paragraph-affix{
    background-color: rgba(0,108,231,.1);
    color: rgba(0,108,231,1);
    -webkit-user-modify: read-only;
}
.mce-paragraph[data-mce-level='2'] .mce-paragraph-affix{
    background-color: rgba(118,193,84,.1);
    color: rgba(118,193,84,1);
    -webkit-user-modify: read-only;
}
.mce-paragraph[data-mce-level='3'] .mce-paragraph-affix{
    background-color: rgba(228,183,137,.1);
    color: rgba(228,183,137,1);
    -webkit-user-modify: read-only;
}
.mce-paragraph[data-mce-level='4'] .mce-paragraph-affix{
    background-color: rgba(12, 181, 187,.1);
    color: rgba(12, 181, 187,1);
    -webkit-user-modify: read-only;
}
.mce-paragraph[data-mce-level='5'] .mce-paragraph-affix{
    background-color: rgba(106, 128, 151,.1);
    color: rgba(106, 128, 151,1);
    -webkit-user-modify: read-only;
}

.mce-paragraph {
    font-size: 1rem;
}

.mce-paragraph[data-mce-level='1'] {
    font-weight: bold !important;
}

.mce-paragraph[data-mce-level='2'],
.mce-paragraph[data-mce-level='3'],
.mce-paragraph[data-mce-level='4'],
.mce-paragraph[data-mce-level='5'] {
    font-weight: normal;
}

/* 层级段落左间距 */
body>.mce-paragraph[data-mce-level='1'], .signed-area>.mce-paragraph[data-mce-level='1'], .print-border>.mce-paragraph[data-mce-level='1'] {
    margin-left: 0;
    width: calc(100% - 70px);
}

body>.parent-level-1:not([data-mce-caret]), .signed-area>.parent-level-1:not([data-mce-caret]), .print-border>.parent-level-1:not([data-mce-caret]) {
    margin-left: 21px;
}

body>.mce-paragraph[data-mce-level='2'], .signed-area>.mce-paragraph[data-mce-level='2'], .print-border>.mce-paragraph[data-mce-level='2'] {
    margin-left: 21px;
    width: calc(100% - 70px - 21px);
}
body>.parent-level-2, .signed-area>.parent-level-2, .print-border>.parent-level-2 {
    margin-left: 42px;
}

body>.mce-paragraph[data-mce-level='3'], .signed-area>.mce-paragraph[data-mce-level='3'], .print-border>.mce-paragraph[data-mce-level='3'] {
    margin-left: 42px;
    width: calc(100% - 70px - 42px);
}

body>.parent-level-3, .signed-area>.parent-level-3, .print-border>.parent-level-3 {
    margin-left: 63px;
}

body>.mce-paragraph[data-mce-level='4'], .signed-area>.mce-paragraph[data-mce-level='4'], .print-border>.mce-paragraph[data-mce-level='4'] {
    margin-left: 63px;
    width: calc(100% - 70px - 63px);
}

body>.parent-level-4, .signed-area>.parent-level-4, .print-border>.parent-level-4 {
    margin-left: 63px;
}

body>.mce-paragraph[data-mce-level='5'], .signed-area>.mce-paragraph[data-mce-level='5'], .print-border>.mce-paragraph[data-mce-level='5'] {
    margin-left: 80px;
    width: calc(100% - 70px - 90px);
}

body>.parent-level-5, .signed-area>.parent-level-5, .print-border>.parent-level-5 {
    margin-left: 80px;
}

/* 反馈查看样式 */
.feedback_body .mce-paragraph-affix, .view_body .mce-paragraph-affix, .rev_body .mce-paragraph-affix, .audit_body .mce-paragraph-affix, .workCard_audit_body .mce-paragraph-affix{
    display: none;
}

.view_body .sign-title > svg, .rev_body .sign-title > svg, .audit_body .sign-title > svg, .workCard_audit_body .sign-title > svg,
.view_body .sign-user-info-R1 > svg, .rev_body .sign-user-info-R1 > svg, .audit_body .sign-user-info-R1 > svg, .workCard_audit_body .sign-user-info-R1 > svg{
    display: none;
}

.view_body .signature, .rev_body .signature, .audit_body .signature, .workCard_audit_body .signature{
    cursor: default !important;
}

.view_body, .rev_body, .audit_body, .workCard_audit_body {
    margin-top: 0;
}

textarea:disabled {
    background-color: #fff;
    resize: none;
}

/* 签名样式 - R0 */
.signature {
    cursor: pointer !important;
    outline: 2px solid #b4d7ff;
    width:100px;
    text-align:center;
    display: inline-block;
    margin: 0 24px 5px 5px;
    vertical-align: top;
    border-radius: 4px;
    font-family: Helvetica;
    font-weight: normal;
    text-indent: 0;
}
.signature[sign='true'] {
    cursor: not-allowed !important;
}
.sign-empty {
    line-height: 40px;
    color: #409EFF;
}
.sign-title {
    font-size: 14px;
    line-height: 26px;
    background-color: #dedfe0;
    display: inline-block;
    width: 100%;
}
.sign-img {
    height: 65px;
    background-color: #e9e9eb;
    display: inline-block;
    width: 100%;
}
.sign-user {
    font-size: 14px;
    line-height: 20px;
    background-color: #f4f4f5;
    display: inline-block;
    width: 100%;
}
.sign-date {
    font-size: 14px;
    line-height: 20px;
    background-color: #f4f4f5;
    display: inline-block;
    width: 100%;
}

.signed-area {
    background-color:#e9e9eb;
}

/* 签名样式 - R1 */
.signature:has(.sign-empty) {
    width: 213px;
    justify-content: center;
}
.signature-R1[sign='true'] {
    cursor: not-allowed !important;
}
.sign-title-R1 {
    font-size: 14px;
    line-height: 13px;
    background-color: #dedfe0;
    display: inline-block;
    width: 27px;
    height: 40px;
}
.sign-img-R1 {
    height: 40px;
    background-color: #e9e9eb;
    display: inline-block;
    width: 66px;
}
.sign-user-R1 {
    font-size: 14px;
    line-height: 20px;
    background-color: #f4f4f5;
    display: block;
    width: 120px;
    height: 20px;
}
.sign-date-R1 {
    font-size: 14px;
    line-height: 20px;
    background-color: #f4f4f5;
    display: block;
    width: 120px;
    height: 20px;
}

.sign-user-info-R1 {
    display: inline-block;
    position: relative;
}

/* 复选框样式 */
.mce-checkbox {
    width: 14px;
    height: 14px;
}

/* 文本域样式 */
.mce-textarea {
    border:none;
    border-bottom:1px solid;
    height: 15px;
    color: #000000;
}

/* table换行 行间距过高 */
table td>p {
    margin-block-start: 1px;
    margin-block-end: 1px;
}

/* 标记用户修改内容 */
.feedback_body .mce-textarea.value-changed, .rev_body .mce-textarea.value-changed, .audit_body .mce-textarea.value-changed {
    background-color: #E6A23C;
}
.feedback_body .mce-checkbox.value-changed, .rev_body .mce-checkbox.value-changed, .audit_body .mce-checkbox.value-changed {
    outline: 2px solid #E6A23C;
}
.feedback_body .signature.value-changed, .rev_body .signature.value-changed, .audit_body .signature.value-changed {
    outline: 2px solid #E6A23C;
}

/* 工卡审核审批时，标记控件颜色 */
.audit_body .mce-textarea {
    background-color: #409EFF;
}
.audit_body .mce-checkbox {
    background-color: #409EFF;
}
.audit_body .signature {
    outline: 2px solid #409EFF;
}

body ul {
    padding-inline-start: 20px !important;
}

body ul li {
    margin-block-start: 1em;
    margin-block-end: 1em;
    list-style-type: disc;
}

.feedback_body .checkbox-blank {
    outline: 2px solid red;
}

.feedback_body .textarea-blank {
    border-color: red;
    border-bottom-width: 2px;
}

.mce-content-body .mce-item-anchor {
    display: none !important;
}

.page-header, .header-space {
    counter-increment: page;
    height: 100px;
}
.page-footer, .footer-space {
    counter-increment: page;
    height: 50px;
}
.page-header {
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: 1pt solid black;
    margin-left: 1px;
    margin-right: 1px;
    display: none;
}
.page-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1pt solid black;
    margin-left: 1px;
    margin-right: 1px;
    display: none;
}
.page-footer-page:after {
    content: "第" counter(page) "页";
}

@media print {
    .page-header, .page-footer {
        display: block;
    }
    body {
        margin: 0;
    }
    @page {
        size : A4 portrait;
        margin: 8mm 10mm 8.75mm;
        @bottom-center {
            counter-increment: page;
            content: counter(page) "/" counter(pages)
        }
    }
}